<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .d1{
            border-top: 3px solid orangered;
            border-bottom: 1px solid gray;
        }
        .d1>a{
            width: 100px;
            height: 50px;
            display: inline-block;
            text-align: center;
            line-height: 50px;
            
        }
        .d1 a{
            text-decoration: none;
            color: rgb(64, 64, 64);
        }
        .d1>a :hover{
            color: orangered;
        }
    </style>
</head>
<body>
    <div class="d1">
       <a href="#">新浪导航</a>
       <a href="#">新浪导航</a>
       <a href="#">新浪导航</a>
       <a href="#">新浪导航</a>
      
    </div>
</body>
</html>